package com.fan.base.exception;

public class SystemException extends RuntimeException {
	private String exceptionId = ExceptionUtils.createExceptionId();

	public SystemException(String message) {
		super(message);
	}

	public SystemException(Throwable throwable) {
		super(throwable);
	}

	public SystemException(String message, Throwable throwable) {
		super(message, throwable);
	}

	public String getExceptionId() {
		return this.exceptionId;
	}

	public String getMessage() {
		return this.exceptionId + ":" + super.getMessage();
	}
}
